package com.hdcircles.autoform.presenter.contract;

import com.hdcircles.autoform.base.BasePresenter;
import com.hdcircles.autoform.base.BaseView;
import com.hdcircles.autoform.model.bean.FormBean;

import java.util.List;

/**
 * Created by hdcircles on 2016/10/17.
 */

public interface MyLabelsContract {

    interface View extends BaseView{

        void showContent(List<FormBean> formBeanList);

        void showSharedContent(List<FormBean> formBeanList);

        void saveDefaultDataSuccess();

        void showEmpty();
    }

    interface Presenter extends BasePresenter<View>{

        void getFormData();

        void deleteFormData(String id);

        void getSharedFormData();

        void changeFormPosition(String id,long time,boolean isPlus);

        void saveDefaultData(FormBean formBean);
    }
}
